<?php
$screen = get_current_screen();
if ($screen->base == 'dashboard') {
    global $current_user;
    get_currentuserinfo();
    ?>
    <style type="text/css">
        div#wpcontent div.wrap {
            display: none;
        }
        div#wpcontent div.wrap.my-dashboard {
            display: block;
        }
    </style>

    <!-- New Wrap with custom welcome screen-->
    <div class="wrap my-dashboard">
        <h2>Direction Kathmandu Dashboard</h2>
        <div id="welcome-panel" class="welcome-panel">
            <div class="mjp-welcome-content">
                <h3>Welcome, <?php echo $current_user->display_name; ?></h3>
                <?php 
//                 echo 'Username: ' . $current_user->user_login . "\n";
//      echo 'User email: ' . $current_user->user_email . "\n";
//      echo 'User first name: ' . $current_user->user_firstname . "\n";
//      echo 'User last name: ' . $current_user->user_lastname . "\n";
//      echo 'User display name: ' . $current_user->display_name . "\n";
//      echo 'User ID: ' . $current_user->ID . "\n";
                ?>
                <p class="about-description">This is dashboard content which can be easily changed.</p>
                <p class="about-description"><i>File source: <?php echo dirname(__FILE__).'\\user-dashboard.php';?></i></p>
                <div class="welcome-panel-column-container">
                    <div class="welcome-panel-column"></div>
                </div>
            </div>
        </div>
        <div id="dashboard-widgets-wrap">
            <?php include TEMPLATEPATH. '/templates/admin-link_to_homepage.php'; ?>
            <div class="clear"></div>
        </div><!-- dashboard-widgets-wrap -->
    </div><!-- wrap -->
    <?php
}?>